﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DataAccess;

namespace Logic
{
    public class FS0201Logic
    {
        FS0201DataAccess fS0201DataAccess = new FS0201DataAccess();
        #region 检索
        public DataTable Search(string strCategory, string strRequirementNo)
        {
            return fS0201DataAccess.Search(strCategory, strRequirementNo);
        }
        #endregion
        #region 获取需求种类列表
        public DataTable getCategoryList()
        {
            return fS0201DataAccess.getCategoryList();
        }
        #endregion
        #region 添加到购物车
        public void addShopList(List<string> shopList, string strUserID)
        {
            fS0201DataAccess.addShopList(shopList, strUserID);
        }
        #endregion
    }
}
